package com.anpy.bill.service;
import com.anpy.bill.entity.*;
import com.anpy.bill.model.param.BillListParams;
import com.anpy.bill.model.result.BillStatisticsResult;
import com.anpy.bill.model.result.MonthMoneyResult;

import java.util.List;

public interface BillService {

    BillListEntity billList(Long userId, BillListParams params);

    Boolean saveBill(BillEntity entity);

    Boolean deleteBill(BillDeleteParam billId);

    Boolean updateBill(BillEntity entity);

    List<BillReportResult> report(BillReportParam billReportParam);

    List<MonthMoneyResult> billMonthList(Long userId, String year);

    MonthMoneyResult billYearMoney(Long userId, String year);

    BillStatisticsResult statistics(Long userId);

    List<MerchantEntity> merchantList(Long userId);
}
